<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:t="http://myfaces.apache.org/tomahawk">

<body>

<ui:composition >
	<div class="form">
		<h:panelGroup layout="block">
			   <t:subform id="tab_remarque">
			   		<h:messages id="messages" warnClass="msgWarn" errorClass="msgError" infoClass="msgInfo"
						globalOnly="true" />
					<h:panelGrid columns="2" columnClasses="tabline1, tabline2" styleClass="spanelTable">
						<h:panelGroup>
							<h:outputLabel value="Tuteur" for="tuteurTxt" id="tuteurLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>	
							<h:inputText value="#{GestionInscriptionControleur.modele.eleve.tuteur}" id="tuteurTxt" 
							required="true"/>
							<h:message id="msgtuteurTxt" for="tuteurTxt"
								styleClass="msgContextuel"	errorClass="msgError" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputLabel value="A des frères et ou des soeurs ?" for="frersoeureTxt" id="frersoeureLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>	
							<h:selectOneMenu id="frere"  value="#{GestionInscriptionControleur.modele.eleve.frere}" 
								required="true" requiredMessage="Requis">
					        	<f:selectItem  itemLabel="Oui" itemValue="Oui" />
					        	<f:selectItem  itemLabel="Non" itemValue="Non" />
				    		</h:selectOneMenu>
				    		<h:message id="msgfrere" for="frere"
								styleClass="msgContextuel"	errorClass="msgError" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputLabel value="Remarques particulières" for="remarquesTxt" id="remarquesLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>
							<h:inputTextarea id="remarquesTxt" value="#{GestionInscriptionControleur.modele.eleve.remarques}" style="width:600px; height:200px"
								required="true"  />
							<h:message id="msgremarquesTxt" for="remarquesTxt"
								styleClass="msgContextuel"	errorClass="msgError" />
						</h:panelGroup>
						<h:panelGroup>
							<h:outputLabel value="Maladies" for="maladieTxt" id="maladieLabel" styleClass="label" />
						</h:panelGroup>
						<h:panelGroup>
							<h:inputTextarea id="maladieTxt" value="#{GestionInscriptionControleur.modele.eleve.maladie}" style="width:600px; height:200px"
								required="true" />
							<h:message id="msgmaladieTxt" for="maladieTxt"
								styleClass="msgContextuel"	errorClass="msgError" />
						</h:panelGroup>
					</h:panelGrid>
					<h:commandLink styleClass="btValider" value="Enregistrer" action="#{GestionInscriptionControleur.validerModificationEleve}"  />
					<h:commandLink styleClass="btPrecedent" value="Retour" action="ECR_RECHERCHE_ELEVE" immediate="true"/>
			   </t:subform>
		</h:panelGroup>
	</div>
	
	
  
</ui:composition>
</body>
</html>